<template>
  <div class="profile-container">
    <div class="page-header">
      <h1>个人中心</h1>
      <p>管理您的个人信息和学习记录</p>
    </div>
    
    <div class="content-placeholder">
      <el-result icon="info" title="页面开发中" sub-title="个人中心功能正在开发中，敬请期待">
        <template #extra>
          <el-button type="primary" @click="$router.push('/home')">返回首页</el-button>
        </template>
      </el-result>
    </div>
  </div>
</template>

<script>
import { onMounted } from 'vue'
import { useStore } from 'vuex'

export default {
  name: 'Profile',
  setup() {
    const store = useStore()
    
    onMounted(() => {
      store.dispatch('setPageTitle', '个人中心')
    })
  }
}
</script>

<style scoped>
.profile-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-header {
  text-align: center;
  margin-bottom: 40px;
}

.page-header h1 {
  font-size: 36px;
  color: #303133;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 16px;
  color: #606266;
}

.content-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}
</style> 